package com.dubito.muxin;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author liliang
 * @description:
 * @date 2018/11/17.
 * @ComponentScan 扫描所有需要的包
 */
@SpringBootApplication
@MapperScan(basePackages = "com.dubito.muxin.dao")
@ComponentScan(basePackages = {"com.dubito","org.n3r.idworker"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
